Optimal. Leaf size=68 \[ -\frac {\log \left (c (a+b x)^p\right )}{e (d+e x)}+\frac {b p \log (a+b x)}{e (b d-a e)}-\frac {b p \log (d+e x)}{e (b d-a e)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2395, 36, 31} \[ -\frac {\log \left (c (a+b x)^p\right )}{e (d+e x)}+\frac {b p \log (a+b x)}{e (b d-a e)}-\frac {b p \log (d+e x)}{e (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 36
Rule 2395
Rubi steps
\begin {align*} \int \frac {\log \left (c (a+b x)^p\right )}{(d+e x)^2} \, dx &=-\frac {\log \left (c (a+b x)^p\right )}{e (d+e x)}+\frac {(b p) \int \frac {1}{(a+b x) (d+e x)} \, dx}{e}\\ &=-\frac {\log \left (c (a+b x)^p\right )}{e (d+e x)}-\frac {(b p) \int \frac {1}{d+e x} \, dx}{b d-a e}+\frac {\left (b^2 p\right ) \int \frac {1}{a+b x} \, dx}{e (b d-a e)}\\ &=\frac {b p \log (a+b x)}{e (b d-a e)}-\frac {\log \left (c (a+b x)^p\right )}{e (d+e x)}-\frac {b p \log (d+e x)}{e (b d-a e)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 52, normalized size = 0.76 \[ \frac {\frac {b p (\log (a+b x)-\log (d+e x))}{b d-a e}-\frac {\log \left (c (a+b x)^p\right )}{d+e x}}{e} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 80, normalized size = 1.18 \[ \frac {{\left (b e p x + a e p\right )} \log \left (b x + a\right ) - {\left (b e p x + b d p\right )} \log \left (e x + d\right ) - {\left (b d - a e\right )} \log \relax (c)}{b d^{2} e - a d e^{2} + {\left (b d e^{2} - a e^{3}\right )} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 91, normalized size = 1.34 \[ \frac {b p x e \log \left (b x + a\right ) - b p x e \log \left (x e + d\right ) + a p e \log \left (b x + a\right ) - b d p \log \left (x e + d\right ) - b d \log \relax (c) + a e \log \relax (c)}{b d x e^{2} + b d^{2} e - a x e^{3} - a d e^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.45, size = 329, normalized size = 4.84 \[ -\frac {\ln \left (\left (b x +a \right )^{p}\right )}{\left (e x +d \right ) e}-\frac {-i \pi a e \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i \left (b x +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (b x +a \right )^{p}\right )+i \pi a e \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \left (b x +a \right )^{p}\right )^{2}+i \pi a e \,\mathrm {csgn}\left (i \left (b x +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (b x +a \right )^{p}\right )^{2}-i \pi a e \mathrm {csgn}\left (i c \left (b x +a \right )^{p}\right )^{3}+i \pi b d \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i \left (b x +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (b x +a \right )^{p}\right )-i \pi b d \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \left (b x +a \right )^{p}\right )^{2}-i \pi b d \,\mathrm {csgn}\left (i \left (b x +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (b x +a \right )^{p}\right )^{2}+i \pi b d \mathrm {csgn}\left (i c \left (b x +a \right )^{p}\right )^{3}+2 b e p x \ln \left (b x +a \right )-2 b e p x \ln \left (-e x -d \right )+2 b d p \ln \left (b x +a \right )-2 b d p \ln \left (-e x -d \right )+2 a e \ln \relax (c )-2 b d \ln \relax (c )}{2 \left (e x +d \right ) \left (a e -b d \right ) e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 65, normalized size = 0.96 \[ \frac {b p {\left (\frac {\log \left (b x + a\right )}{b d - a e} - \frac {\log \left (e x + d\right )}{b d - a e}\right )}}{e} - \frac {\log \left ({\left (b x + a\right )}^{p} c\right )}{{\left (e x + d\right )} e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.07, size = 70, normalized size = 1.03 \[ -\frac {\ln \left (c\,{\left (a+b\,x\right )}^p\right )}{e\,\left (d+e\,x\right )}+\frac {b\,p\,\mathrm {atan}\left (\frac {a\,e\,1{}\mathrm {i}+b\,d\,1{}\mathrm {i}+b\,e\,x\,2{}\mathrm {i}}{a\,e-b\,d}\right )\,2{}\mathrm {i}}{a\,e^2-b\,d\,e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________